package com.module.wx.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 zzd_coupon_use_info
 * 
 * @author hezhengxian
 * @date 2023-03-06
 */
public class ZzdCouponUseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 优惠券id */
    @Excel(name = "优惠券id")
    private String couponId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderListId;

    /** 被使用商家id */
    @Excel(name = "被使用商家id")
    private String storeId;

    /** 被使用商家名称 */
    @Excel(name = "被使用商家名称")
    private String storeName;

    /** 是否付款 */
    @Excel(name = "是否付款")
    private String isPay;

    /** 备注 */
    @Excel(name = "备注")
    private String remaks;

    /** 使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date useTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCouponId(String couponId) 
    {
        this.couponId = couponId;
    }

    public String getCouponId() 
    {
        return couponId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setOrderListId(String orderListId) 
    {
        this.orderListId = orderListId;
    }

    public String getOrderListId() 
    {
        return orderListId;
    }
    public void setStoreId(String storeId) 
    {
        this.storeId = storeId;
    }

    public String getStoreId() 
    {
        return storeId;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setIsPay(String isPay) 
    {
        this.isPay = isPay;
    }

    public String getIsPay() 
    {
        return isPay;
    }
    public void setRemaks(String remaks) 
    {
        this.remaks = remaks;
    }

    public String getRemaks() 
    {
        return remaks;
    }
    public void setUseTime(Date useTime) 
    {
        this.useTime = useTime;
    }

    public Date getUseTime() 
    {
        return useTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("couponId", getCouponId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("orderListId", getOrderListId())
            .append("storeId", getStoreId())
            .append("storeName", getStoreName())
            .append("isPay", getIsPay())
            .append("remaks", getRemaks())
            .append("useTime", getUseTime())
            .toString();
    }
}
